home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat8 / lcm.8 < prev    next >
Text File  |  1999-09-16  |  529b  |  67 lines

  1.  
  2.  
  3.  
  4. lcm(8)                         Scilab Function                         lcm(8)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   lcm - least common multiple
  13.  
  14. CALLING SEQUENCE
  15.   [pp,fact]=lcm(p)
  16.  
  17. PARAMETERS
  18.  
  19.   p    :
  20.  
  21.   fact : polynomial vector
  22.  
  23.   pp   : polynomial
  24.  
  25. DESCRIPTION
  26.   pp=lcm(p) computes the lcm pp of polynomial vector p.
  27.  
  28.   [pp,fact]=lcm(p) computes in addition the vector fact such that:
  29.  
  30.   p.*fact=pp*ones(p)
  31.  
  32. EXAMPLE
  33.   s=poly(0,'s');
  34.   p=[s,s*(s+1)^2,s^2*(s+2)];
  35.   [pp,fact]=lcm(p);
  36.   p.*fact, pp
  37.  
  38. SEE ALSO
  39.   gcd, bezout
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.